package cn.labbook.bluetooth.util.weixin.vo;

import lombok.Data;

/**
 * @Author: zhangyang
 * @Date: 2023/5/6 11:23
 * @Desc: 获取scheme码返回数据
 */
@Data
public class GenerateSchemeVO {

    /**
     * 状态码
     */
    private int errcode;
    /**
     * 错误信息
     */
    private String errmsg;
    /**
     * Scheme
     */
    private String openlink;


    public enum ErrCode {

        SUCCESS(0, "success")

        ;
        private final int code;
        private final String msg;

        ErrCode(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public int getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
